package com.canaan.business.mapper.barcode;

import java.util.List;
import com.canaan.business.domain.barcode.UploadCircubill;

/**
 * 监管码Mapper接口
 *
 * @author yangjie
 * @date 2025-01-15
 */
public interface UploadCircubillMapper {
    /**
     * 查询监管码
     *
     * @param id 监管码主键
     * @return 监管码
     */
    public UploadCircubill selectUploadCircubillById(Long id);

    /**
     * 查询监管码列表
     *
     * @param uploadCircubill 监管码
     * @return 监管码集合
     */
    public List<UploadCircubill> selectUploadCircubillList(UploadCircubill uploadCircubill);

    /**
     * 新增监管码
     *
     * @param uploadCircubill 监管码
     * @return 结果
     */
    public int insertUploadCircubill(UploadCircubill uploadCircubill);

    /**
     * 批量新增监管码
     *
     * @param uploadCircubillList 监管码列表
     * @return 结果
     */
    public int batchInsertUploadCircubill(List<UploadCircubill> uploadCircubillList);

    /**
     * 修改监管码
     *
     * @param uploadCircubill 监管码
     * @return 结果
     */
    public int updateUploadCircubill(UploadCircubill uploadCircubill);

    /**
     * 批量修改监管码
     *
     * @param uploadCircubillList 监管码列表
     * @return 结果
     */
    public int batchUpdateUploadCircubill(List<UploadCircubill> uploadCircubillList);

    /**
     * 删除监管码
     *
     * @param id 监管码主键
     * @return 结果
     */
    public int deleteUploadCircubillById(Long id);

    /**
     * 批量删除监管码
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUploadCircubillByIds(Long[] ids);

}
